package com.guangaiboen.attendance.core.dispatcher.constants;

public enum RequestTypes {

	GET("GET", "GET请求"), POST("POST", "POST请求"),JSON("JSON","JSON请求"),XML("XML","XML请求"),FORMENCODED("FORMENCODED","FORM请求");

	private String requestCode;

	private String requestDesc;

	private RequestTypes(String requestCode, String requestDesc) {

		this.requestCode = requestCode;

		this.requestDesc = requestDesc;

	}

	public String getRequestCode() {
		return requestCode;
	}

	public String getRequestDesc() {
		return requestDesc;
	}

}
